package cn.edu.ujn.finallab.service;

import java.util.List;

import cn.edu.ujn.finallab.dao.Customer;
import cn.edu.ujn.finallab.dao.Orders;
import cn.edu.ujn.finallab.util.Page;

public interface ICustomerService {

	public Customer findById(int id);
	

	public Customer selectByName(String name);
	
	public int insertCustomer(Customer customer);

	public Page<Customer> selectByPage(int currentPage);
	
	public int deleteCustomer(int id);
	
	public int modifyCustomer(Customer customer);
	
	public Customer selectByIdcard(String idcard);
	
	List<Orders> selectByCustomerName(String name);
	
}
